c6e54a822ba409ed17d66f4526cf123f0bf6dd20,src/mitiv/linalg/LinearOperator.java,LinearOperator,apply,#Vector#Vector#number#,97
Before Change
NotImplementedException {
if (job == DIRECT || job == (INVERSE|ADJOINT)) {
inputSpace.check(src);
outputSpace.check(dst);
} else if (job == ADJOINT || job == INVERSE) {
outputSpace.check(src);
inputSpace.check(dst);
After Change
throws IncorrectSpaceException, IllegalLinearOperationException,
NotImplementedException {
if (job == DIRECT || job == (INVERSE|ADJOINT)) {
if (! outputSpace.owns(dst)) {
throw new IncorrectSpaceException("Destination does not belong to the output space");
}
if (! inputSpace.owns(src)) {
throw new IncorrectSpaceException("Source does not belong to the input space");